export const API_URL = 'http://' + location.host + '/platform/api/'
export const LOGIN_TOKEN_KEY = 'admin_login_token'

export const FIRE_WARN_COLORS = {
    969 : '#1cb2ff',
    986 : '#eb3d3f',
    111 : '#ff9c1c',
    985 : '#b068f3'
}

export const FIRE_WARN_NAMES = {
    969 : '水浸报警',
    986 : '高温报警',
    111 : '烟雾报警',
    985 : '漏电报警'
}

export const DEVICE_TYPE = {
    YG : '烟感',
    WG : '温感',
    LS : '水浸'
}